/*
 * Copyright@2009 qcj All rights reserved.
 */
package org.firegrid.model;

import java.io.Serializable;

import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * @author qcj,(jentrees2001@yahoo.com.cn)
 */
@MappedSuperclass
public class IdEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7853996988531797468L;

	private String id;

	@Id
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	
}
